package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "o2o_rpplan_static")
public class RpplanStaticEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	
	private String actno;		//贷款账号
	
	@Column(name = "prd_type")
	private String prdType;		//产品类型
	
	@Column(name = "child_type")
	private String childType;	//产品子类
	
	private String currency;	//货币
	
	@Column(name = "prd_des")
	private String prdDes;		//产品说明
	
	@Column(name = "pay_way")
	private String payWay;		//还款方式
	
	@Column(name = "unexp_money")
	private BigDecimal unexpMoney;//未到期本金
	
	@Column(name = "tail_money")
	private BigDecimal tailMoney;//尾款金额
	
	private BigDecimal interest;//应收利息
	
	private int loaddl;			//贷款期限
	
	@Column(name = "send_day")
	private String sendDay;		//本金发放日
	
	private BigDecimal rate;	//利率
	
	private String dlunit;		//贷款期限单位
	
	@Column(name = "begin_day")
	private String beginDay;		//利息起算日
	
	@Column(name = "pay_peri")
	private String payPeri;		//还款周期
	
	@Column(name = "pay_day")
	private String payDay;		//每期还款日
	
	private BigDecimal balance;//本金递变差额
	
	@Column(name = "un_pay_time")
	private int unPayTime;		//未还期数
	
	@Column(name = "fine_int")
	private BigDecimal fineInt;	//罚息
	
	@Column(name = "unpay_money")
	private BigDecimal unpayMoney;//拖欠本金
	
	private String delay;		//延迟还本期
	
	@Column(name = "should_pay")
	private BigDecimal shouldPay;//应还未还总金额
	
	@Column(name = "search_date")
	private String searchDate;	//查询日期

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getActno() {
		return actno;
	}

	public void setActno(String actno) {
		this.actno = actno;
	}

	public String getPrdType() {
		return prdType;
	}

	public void setPrdType(String prdType) {
		this.prdType = prdType;
	}

	public String getChildType() {
		return childType;
	}

	public void setChildType(String childType) {
		this.childType = childType;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getPrdDes() {
		return prdDes;
	}

	public void setPrdDes(String prdDes) {
		this.prdDes = prdDes;
	}

	public String getPayWay() {
		return payWay;
	}

	public void setPayWay(String payWay) {
		this.payWay = payWay;
	}

	public BigDecimal getUnexpMoney() {
		return unexpMoney;
	}

	public void setUnexpMoney(BigDecimal unexpMoney) {
		this.unexpMoney = unexpMoney;
	}

	public BigDecimal getTailMoney() {
		return tailMoney;
	}

	public void setTailMoney(BigDecimal tailMoney) {
		this.tailMoney = tailMoney;
	}

	public BigDecimal getInterest() {
		return interest;
	}

	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	public int getLoaddl() {
		return loaddl;
	}

	public void setLoaddl(int loaddl) {
		this.loaddl = loaddl;
	}

	public String getSendDay() {
		return sendDay;
	}

	public void setSendDay(String sendDay) {
		this.sendDay = sendDay;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public String getDlunit() {
		return dlunit;
	}

	public void setDlunit(String dlunit) {
		this.dlunit = dlunit;
	}

	public String getBeginDay() {
		return beginDay;
	}

	public void setBeginDay(String beginDay) {
		this.beginDay = beginDay;
	}

	public String getPayPeri() {
		return payPeri;
	}

	public void setPayPeri(String payPeri) {
		this.payPeri = payPeri;
	}

	public String getPayDay() {
		return payDay;
	}

	public void setPayDay(String payDay) {
		this.payDay = payDay;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public int getUnPayTime() {
		return unPayTime;
	}

	public void setUnPayTime(int unPayTime) {
		this.unPayTime = unPayTime;
	}

	public BigDecimal getFineInt() {
		return fineInt;
	}

	public void setFineInt(BigDecimal fineInt) {
		this.fineInt = fineInt;
	}

	public BigDecimal getUnpayMoney() {
		return unpayMoney;
	}

	public void setUnpayMoney(BigDecimal unpayMoney) {
		this.unpayMoney = unpayMoney;
	}

	public String getDelay() {
		return delay;
	}

	public void setDelay(String delay) {
		this.delay = delay;
	}

	public BigDecimal getShouldPay() {
		return shouldPay;
	}

	public void setShouldPay(BigDecimal shouldPay) {
		this.shouldPay = shouldPay;
	}

	public String getSearchDate() {
		return searchDate;
	}

	public void setSearchDate(String searchDate) {
		this.searchDate = searchDate;
	}

	@Override
	public String toString() {
		return "RpplanStaticEntity [id=" + id + ", actno=" + actno + ", prdType=" + prdType + ", childType=" + childType
				+ ", currency=" + currency + ", prdDes=" + prdDes + ", payWay=" + payWay + ", unexpMoney=" + unexpMoney
				+ ", tailMoney=" + tailMoney + ", interest=" + interest + ", loaddl=" + loaddl + ", sendDay=" + sendDay
				+ ", rate=" + rate + ", dlunit=" + dlunit + ", beginDay=" + beginDay + ", payPeri=" + payPeri
				+ ", payDay=" + payDay + ", balance=" + balance + ", unPayTime=" + unPayTime + ", fineInt=" + fineInt
				+ ", unpayMoney=" + unpayMoney + ", delay=" + delay + ", shouldPay=" + shouldPay + ", searchDate="
				+ searchDate + "]";
	}
}
